<?php
namespace Common\Controller;
use Think\Controller;
class CommonController extends Controller {
	public function _initialize(){
    	if(session("?user_id")) {
    		$model = M("user");
			$data = $model->where("status=0")->order("id")->select();
			$this->assign("auth",count($data));
    	}else {
    		redirect("Admin/Login/index");
    	}
    }
	public function _empty(){}
}